Optimal. Leaf size=51 \[ 4 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )-4 \sqrt {a+b \sqrt {\frac {c}{x}}} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {369, 266, 50, 63, 208} \begin {gather*} 4 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )-4 \sqrt {a+b \sqrt {\frac {c}{x}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 208
Rule 266
Rule 369
Rubi steps
\begin {align*} \int \frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{x} \, dx &=\operatorname {Subst}\left (\int \frac {\sqrt {a+\frac {b \sqrt {c}}{\sqrt {x}}}}{x} \, dx,\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right )\\ &=-\operatorname {Subst}\left (2 \operatorname {Subst}\left (\int \frac {\sqrt {a+b \sqrt {c} x}}{x} \, dx,x,\frac {1}{\sqrt {x}}\right ),\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right )\\ &=-4 \sqrt {a+b \sqrt {\frac {c}{x}}}-\operatorname {Subst}\left ((2 a) \operatorname {Subst}\left (\int \frac {1}{x \sqrt {a+b \sqrt {c} x}} \, dx,x,\frac {1}{\sqrt {x}}\right ),\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right )\\ &=-4 \sqrt {a+b \sqrt {\frac {c}{x}}}-\operatorname {Subst}\left (\frac {(4 a) \operatorname {Subst}\left (\int \frac {1}{-\frac {a}{b \sqrt {c}}+\frac {x^2}{b \sqrt {c}}} \, dx,x,\sqrt {a+\frac {b \sqrt {c}}{\sqrt {x}}}\right )}{b \sqrt {c}},\sqrt {x},\frac {\sqrt {\frac {c}{x}} x}{\sqrt {c}}\right )\\ &=-4 \sqrt {a+b \sqrt {\frac {c}{x}}}+4 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 51, normalized size = 1.00 \begin {gather*} 4 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )-4 \sqrt {a+b \sqrt {\frac {c}{x}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.03, size = 51, normalized size = 1.00 \begin {gather*} 4 \sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {\frac {c}{x}}}}{\sqrt {a}}\right )-4 \sqrt {a+b \sqrt {\frac {c}{x}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.51, size = 110, normalized size = 2.16 \begin {gather*} \left [2 \, \sqrt {a} \log \left (2 \, \sqrt {b \sqrt {\frac {c}{x}} + a} \sqrt {a} x \sqrt {\frac {c}{x}} + 2 \, a x \sqrt {\frac {c}{x}} + b c\right ) - 4 \, \sqrt {b \sqrt {\frac {c}{x}} + a}, -4 \, \sqrt {-a} \arctan \left (\frac {\sqrt {b \sqrt {\frac {c}{x}} + a} \sqrt {-a}}{a}\right ) - 4 \, \sqrt {b \sqrt {\frac {c}{x}} + a}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.02, size = 150, normalized size = 2.94 \begin {gather*} \frac {2 \sqrt {a +\sqrt {\frac {c}{x}}\, b}\, \left (\sqrt {\frac {c}{x}}\, a b \,x^{\frac {3}{2}} \ln \left (\frac {2 a \sqrt {x}+\sqrt {\frac {c}{x}}\, b \sqrt {x}+2 \sqrt {a x +\sqrt {\frac {c}{x}}\, b x}\, \sqrt {a}}{2 \sqrt {a}}\right )+2 \sqrt {a x +\sqrt {\frac {c}{x}}\, b x}\, a^{\frac {3}{2}} x -2 \left (a x +\sqrt {\frac {c}{x}}\, b x \right )^{\frac {3}{2}} \sqrt {a}\right )}{\sqrt {\left (a +\sqrt {\frac {c}{x}}\, b \right ) x}\, \sqrt {\frac {c}{x}}\, \sqrt {a}\, b x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.29, size = 61, normalized size = 1.20 \begin {gather*} -2 \, \sqrt {a} \log \left (\frac {\sqrt {b \sqrt {\frac {c}{x}} + a} - \sqrt {a}}{\sqrt {b \sqrt {\frac {c}{x}} + a} + \sqrt {a}}\right ) - 4 \, \sqrt {b \sqrt {\frac {c}{x}} + a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\sqrt {a+b\,\sqrt {\frac {c}{x}}}}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a + b \sqrt {\frac {c}{x}}}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________